package net.huashitong.common.entity;

import com.sirdc.modules.core.entity.StringEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "t_common_announce_record")
public class SysAnnouncementRecord extends StringEntity {
    /**通告id*/
    private String anntId;
    /**用户id*/
    private String userId;
    /**阅读状态（0未读，1已读）*/
    @Column(columnDefinition = "varchar(2) default '0' ")
    private String readFlag;
    /**阅读时间*/
    private String readTime;

    public String getAnntId() {
        return anntId;
    }

    public void setAnntId(String anntId) {
        this.anntId = anntId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getReadFlag() {
        return readFlag;
    }

    public void setReadFlag(String readFlag) {
        this.readFlag = readFlag;
    }

    public String getReadTime() {
        return readTime;
    }

    public void setReadTime(String readTime) {
        this.readTime = readTime;
    }
}
